﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200086F RID: 2159
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetTutorialScRsp : IMessage<GetTutorialScRsp>, IMessage, IEquatable<GetTutorialScRsp>, IDeepCloneable<GetTutorialScRsp>, IBufferMessage
	{
		// Token: 0x17001B39 RID: 6969
		// (get) Token: 0x06006087 RID: 24711 RVA: 0x00100FD9 File Offset: 0x000FF1D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetTutorialScRsp> Parser
		{
			get
			{
				return GetTutorialScRsp._parser;
			}
		}

		// Token: 0x17001B3A RID: 6970
		// (get) Token: 0x06006088 RID: 24712 RVA: 0x00100FE0 File Offset: 0x000FF1E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetTutorialScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B3B RID: 6971
		// (get) Token: 0x06006089 RID: 24713 RVA: 0x00100FF2 File Offset: 0x000FF1F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetTutorialScRsp.Descriptor;
			}
		}

		// Token: 0x0600608A RID: 24714 RVA: 0x00100FF9 File Offset: 0x000FF1F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTutorialScRsp()
		{
		}

		// Token: 0x0600608B RID: 24715 RVA: 0x0010100C File Offset: 0x000FF20C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTutorialScRsp(GetTutorialScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.tutorialList_ = other.tutorialList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600608C RID: 24716 RVA: 0x00101042 File Offset: 0x000FF242
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTutorialScRsp Clone()
		{
			return new GetTutorialScRsp(this);
		}

		// Token: 0x17001B3C RID: 6972
		// (get) Token: 0x0600608D RID: 24717 RVA: 0x0010104A File Offset: 0x000FF24A
		// (set) Token: 0x0600608E RID: 24718 RVA: 0x00101052 File Offset: 0x000FF252
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001B3D RID: 6973
		// (get) Token: 0x0600608F RID: 24719 RVA: 0x0010105B File Offset: 0x000FF25B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Tutorial> TutorialList
		{
			get
			{
				return this.tutorialList_;
			}
		}

		// Token: 0x06006090 RID: 24720 RVA: 0x00101063 File Offset: 0x000FF263
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetTutorialScRsp);
		}

		// Token: 0x06006091 RID: 24721 RVA: 0x00101074 File Offset: 0x000FF274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetTutorialScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.tutorialList_.Equals(other.tutorialList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006092 RID: 24722 RVA: 0x001010C4 File Offset: 0x000FF2C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.tutorialList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006093 RID: 24723 RVA: 0x00101111 File Offset: 0x000FF311
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006094 RID: 24724 RVA: 0x00101119 File Offset: 0x000FF319
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006095 RID: 24725 RVA: 0x00101124 File Offset: 0x000FF324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			this.tutorialList_.WriteTo(ref output, GetTutorialScRsp._repeated_tutorialList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006096 RID: 24726 RVA: 0x00101174 File Offset: 0x000FF374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.tutorialList_.CalculateSize(GetTutorialScRsp._repeated_tutorialList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006097 RID: 24727 RVA: 0x001011C8 File Offset: 0x000FF3C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetTutorialScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.tutorialList_.Add(other.tutorialList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006098 RID: 24728 RVA: 0x00101215 File Offset: 0x000FF415
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006099 RID: 24729 RVA: 0x00101220 File Offset: 0x000FF420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.tutorialList_.AddEntriesFrom(ref input, GetTutorialScRsp._repeated_tutorialList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002510 RID: 9488
		private static readonly MessageParser<GetTutorialScRsp> _parser = new MessageParser<GetTutorialScRsp>(() => new GetTutorialScRsp());

		// Token: 0x04002511 RID: 9489
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002512 RID: 9490
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04002513 RID: 9491
		private uint retcode_;

		// Token: 0x04002514 RID: 9492
		public const int TutorialListFieldNumber = 15;

		// Token: 0x04002515 RID: 9493
		private static readonly FieldCodec<Tutorial> _repeated_tutorialList_codec = FieldCodec.ForMessage<Tutorial>(122U, Tutorial.Parser);

		// Token: 0x04002516 RID: 9494
		private readonly RepeatedField<Tutorial> tutorialList_ = new RepeatedField<Tutorial>();
	}
}
